<aside class="main-sidebar sidebar-dark-primary elevation-4">
    <!-- Brand Logo -->
    <a href="index3.html" class="brand-link">
        <img src="/logo.png" alt="AdminLTE Logo" class="brand-image img-circle elevation-3" style="opacity: .8">
        <span class="brand-text font-weight-light">大海大广告管理系统</span>
    </a>

    <!-- Sidebar -->
    <div class="sidebar">
        <!-- Sidebar user panel (optional) -->
        <div class="user-panel mt-3 pb-3 mb-3 d-flex">
            <div class="info">
                <a href="#" class="d-block">欢迎您：<%= localStorage.getItem("adminName")%></a>
            </div>
        </div>


        <!-- Sidebar Menu -->
        <nav class="mt-2">
            <ul id="goUl" class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
                <%= $.menuRoutes.map(item=>(`
                    <li class="nav-item menu-open">
                        <a data-url="${item.url}" href="javascript:;" class="nav-link ${item.url===$.url?'active':''}">
                            <i class="nav-icon fas fa-tachometer-alt"></i>
                            <p>${item.title}</p>
                        </a>
                    </li>
                `)).join("")%>
            </ul>
        </nav>
        <!-- /.sidebar-menu -->
    </div>
    <!-- /.sidebar -->
</aside>